From 05a89012ebc0b4a69f3f0eba689a56eecf06ab53 Mon Sep 17 00:00:00 2001 From: "stekloff@dyn9047022152.beaverton.ibm.com" Date: Wed, 19 Apr 2006 22:58:24 +0100 Subject: [PATCH] Add small memory warning message to domain configuration examples. Signed-off-by: Daniel Stekloff --- tools/examples/xmexample.hvm | 4 ++++ tools/examples/xmexample.nbd | 5 +++++ tools/examples/xmexample.vti | 4 ++++ tools/examples/xmexample1 | 4 ++++ tools/examples/xmexample2 | 4 ++++ tools/examples/xmexample3 | 4 ++++ 6 files changed, 25 insertions(+) diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm index d7576b67a0..2f136ae7ee 100644 --- a/tools/examples/xmexample.hvm +++ b/tools/examples/xmexample.hvm @@ -21,6 +21,10 @@ kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 128 # A name for your domain. All domains must have different names. diff --git a/tools/examples/xmexample.nbd b/tools/examples/xmexample.nbd index 90dadc294d..7fdb74e0e0 100644 --- a/tools/examples/xmexample.nbd +++ b/tools/examples/xmexample.nbd @@ -10,7 +10,12 @@ kernel = "/boot/vmlinuz-2.6.13-15b-xen" ramdisk = "/boot/initrd-2.6.13-15b-xen" + +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 128 + name = "nbd4" vif = [ '' ] # Please change PORT diff --git a/tools/examples/xmexample.vti b/tools/examples/xmexample.vti index ee49ae46d4..d8cfa61de6 100644 --- a/tools/examples/xmexample.vti +++ b/tools/examples/xmexample.vti @@ -18,6 +18,10 @@ kernel = "/boot/Flash.fd" builder='hvm' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 256 # A name for your domain. All domains must have different names. diff --git a/tools/examples/xmexample1 b/tools/examples/xmexample1 index 8985ff2582..1ba525a962 100644 --- a/tools/examples/xmexample1 +++ b/tools/examples/xmexample1 @@ -17,6 +17,10 @@ kernel = "/boot/vmlinuz-2.6.10-xenU" #builder='linux' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 64 # A name for your domain. All domains must have different names. diff --git a/tools/examples/xmexample2 b/tools/examples/xmexample2 index ff39c4e7d9..2dd75687b6 100644 --- a/tools/examples/xmexample2 +++ b/tools/examples/xmexample2 @@ -45,6 +45,10 @@ kernel = "/boot/vmlinuz-2.6.10-xenU" #builder='linux' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 64 # A name for the new domain. All domains have to have different names, diff --git a/tools/examples/xmexample3 b/tools/examples/xmexample3 index bf20dd4862..8b01b13893 100644 --- a/tools/examples/xmexample3 +++ b/tools/examples/xmexample3 @@ -45,6 +45,10 @@ kernel = "/path/to/domU/kernel" #builder='linux' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 64 # A name for the new domain. All domains have to have different names, -- 2.30.2